package com.agileai.bpm.domain.running;

abstract public class BaseItem {
	protected String title = null;
	
	protected WorkAttributes workAttributes = null;

	
	public BaseItem(){
		this.workAttributes = new WorkAttributes();
	}

	public WorkAttributes addAttribute(String key,String value){
		this.workAttributes.addAttribute(key, value);
		return this.workAttributes;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public WorkAttributes getWorkAttributes() {
		return workAttributes;
	}
}
